import request from '@/util/request'

// 专业查询
export const getSpecializedAPI = (params) => {
  return request.get('/admin/specialized', { params })
}

// 专业添加
export const addSpecializedAPI = (data) => {
  return request.post('/admin/specialized', data)
}

// 专业更新
export const updateSpecializedAPI = (data) => {
  return request.put('/admin/specialized', data)
}

// 专业删除
export const deleteSpecializedAPI = (params) => {
  return request.delete('/admin/specialized', { params })
}
